/**
 * 单个sku 属性
 */
import {
    CellStatus
} from "../../core/enum"
class Cell {
    id
    title
    cell
    status = CellStatus.WAITING //cell的状态 可选/选中/不可选
    // disabled = false
    // selected = false
    constructor(cell) {
        this.cell = cell
        this.title = cell.value
        this.id = cell.value_id
    }

    getCellCode() {
        return this.cell.key_id + "-" + this.cell.value_id
    }

}
export {
    Cell
}